﻿$(function() {
    $('ul.sortable').sortable({ axis: "y", stop: saveStatusOrder, handle: '.handle' });
});

function saveStatusOrder() {
    var ids = $('ul.sortable').sortable('toArray');
    $.getJSON(base + 'status.ivp/saveorder', { ids: ids, timestamp: new Date() });
}
